package com.petmall.util;

/**
 * Created by pig2guang on 2017/5/18.
 */
public interface HttpStatus {

    //成功
    String SUCCESS = "200";

    // 修改成功
    String CREATED = "201";

    // 删除
    String NO_CONTENT = "204";

    // 没有登录
    String NOT_LOGIN = "401";

    // 发生异常
    String EXCEPTION = "400";

    // 系统错误
    String SYS_ERROR = "402";

    // 参数错误
    String PARAMS_ERROR = "403";

    // 找不到
    String NOT_FOUND = "404";

    //禁用请求
    String NOT_PERMIT = "405";

    // 不支持或已经废弃
    String NOT_SUPPORTED = "410";

    // AuthCode错误
    String INVALID_AUTHCODE = "444";

    // 太频繁的调用
    String TOO_FREQUENT = "445";

    // 未知的错误
    String UNKNOWN_ERROR = "499";

}
